import request from '@/router/axios';

export const getInfo = () => {
  return request({
    url: '/api/merchant/merchant/detail',
    method: 'get',
  })
}

export const update = (row) => {
  return request({
    url: '/api/merchant/merchant/submit',
    method: 'post',
    data: row
  })
}

export const statusChange = (id) => {
  return request({
    url: '/api/merchant/merchant/status-change',
    method: 'post',
    params: {
      id
    }
  })
}
